package com.byzk.p2p.admin.group.dao;

import java.util.List;
import java.util.Map;

import com.byzk.p2p.admin.admin.dto.SysUser;
import com.byzk.p2p.admin.group.dto.Group;

public interface GroupDao {

	public Integer count(Map<String,Object> queryMap);

	public List<Group> groupList(Map<String,Object> queryMap);

	public Group getGroupById(Integer id);
	
	public Integer insert(Group group);

	public Integer update(Group group);

	public Integer delete(Integer id);
	
	public List<SysUser> getSysUserByGroupId(Integer id);
	
	public List<Group> getAllGroup();
}
